\documentclass[english]{scrartcl}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\makeatletter
\@ifundefined{date}{}{\date{}}
\makeatother

%\usepackage{mathptmx}
%\usepackage{helvet}
%\usepackage{courier}
%\renewcommand{\familydefault}{\rmdefault}

\usepackage{fancyhdr}
\pagestyle{fancy}

\usepackage{babel}
\usepackage{algorithmic}

\usepackage{color}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}

\usepackage{listings}
\lstset{
  language=[Sharp]C,
  extendedchars=false,
  basicstyle=\ttfamily\footnotesize,
  numbers=left,
  numberstyle=\tiny\color{gray},
  numbersep=5pt,
  backgroundcolor=\color{white},
  tabsize=2,
  captionpos=b,
  keywordstyle=\color{blue},
  commentstyle=\color{dkgreen},
  stringstyle=\color{mauve},
  breaklines=true,
  breakatwhitespace=false}

\usepackage[unicode=true,
 bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
 breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=true]
 {hyperref}\usepackage{listings}

\hypersetup{pdftitle={Algorithmic Scheduling of Shifts},
 pdfauthor={Florian Biermann, Lauge Groes, Johan von Tangen Sivertsen},
 pdfsubject={SAD2},
 pdfkeywords={Algorithms, SAD2}}

\begin{document}

\subject{SAD2 Project Report E2012}

\title{Algorithmic Scheduling of Shifts}

\author{Florian Biermann, Lauge Groes, Johan von Tangen Sivertsen}

\publishers{\{fbie, lgro, jovt\}@itu.dk}

%\date{12.12.2012}

\maketitle

\begin{abstract}
This report contains an introduction of a shift-distribution problem occurring
in distributed call-centers. It provides a formalization of the problem, an
exploration of different solution approaches and provides a working solution
trough local search. The run-time cost of the solution is analyzed and compared
to other approaches. In the end we will analyze our approach and suggest further
research and refinements of our solution.

\thispagestyle{empty}
\end{abstract}
\newpage{}

\thispagestyle{empty}


\newpage{}

\tableofcontents


\newpage{}

\section{Introduction and Motivation}

\input{1introduction.tex}


\section{Problem Formulation}
\label{sec:problem}

\input{2problem.tex}


\section{Approaches}

\input{3approaches.tex}


\section{Analysis}
\label{sec:analysis}

\input{4analysis.tex}


\input{6conclusion.tex}


\bibliographystyle{plain}
\bibliography{sad2}


\begin{appendix}
  \section{Code}
  
  All code can be found at \url{https://code.google.com/p/sad2-vagtfordeler/}.
  
  \subsection{Schedule}
    \lstinputlisting{../trunk/Schedule.cs}

  \subsection{Searcher}
    \lstinputlisting{../trunk/Searcher.cs}

\end{appendix}
\end{document}
